<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <link type="image/x-icon" href="/public/favicon.ico" rel="shortcut icon">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
  <title>Simplex Lingua : <?php echo $this->title;?></title>
 <?php if($_SESSION['lang']=='en') { ?>
    <link rel="stylesheet" href="/public/css/style-eng.css" type="text/css" media="screen, projection"/>
 <?php }  else { ?>
    <link rel="stylesheet" href="/public/css/style-rus.css" type="text/css" media="screen, projection"/>
 <?php } ?>
  
  <link rel="stylesheet" href="/public/css/style.css" type="text/css"/>
  <link href="/public/scroll/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  <script type="text/javascript" src="/public/scroll/jquery.easing.1.3.js"></script>
  <script type="text/javascript" src="/public/scroll/jquery.mousewheel.min.js"></script>
  
</head>                      
<body>
<!--КАРТИНКА!!!-->  
<div class="back">
 <img class="image" src="/public/images/background.jpg">
</div>   
     <div id="layout">
<!--МЕНЮ-->
<div class="menu">
     <div class="m">
     <a href="/translate/language/lang/ru" class="rus"><img src="/public/images/rus-black.png"></a>
     <a href="/translate/language/lang/en" class="eng"><img src="/public/images/eng-black.png">           
     </a>
    

<?php
if(!isset($_SESSION['lang'])) $_SESSION['lang'] = DEFAUL_LANGUAGE;
if($_SESSION['lang']=='en') {
    ?>
     <a href="/list/articles" class="articles<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='articles') echo '_selected';?>"><img src="/public/images/articles black.png"   height="13" width="76"></a>
     <a href="/list/news" class="news<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='news') echo '_selected';?>"><img src="/public/images/news black.png"   height="13" width="49"></a>
     <a href="/page/payment.html" class="payment<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='payment.html') echo '_selected';?>"><img src="/public/images/payment black.png"   height="13" width="77"></a>
     <a href="/page/contacts.html" class="contact<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='contacts.html') echo '_selected';?>"><img src="/public/images/contact black.png"   height="14" width="74"></a>
     <a href="/page/faq.html" class="faq<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='faq.html') echo '_selected';?>"><img src="/public/images/faq black.png"  height="14" width="33"></a>
     <a href="/page/about.html" class="aboutus<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='about.html') echo '_selected';?>"><img src="/public/images/aboutus black.png"   height="13" width="81"></a>
     <a href="/page/index.html" class="home<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='index.html') echo '_selected';?>"><img src="/public/images/Home black.png" height="13" width="45" ></a>
     
<?php } else { ?>
    
     <a href="/list/articles" class="articles<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='articles') echo '_selected';?>"><img src="/public/images/articlesrusblack.png"></a>
     <a href="/list/news" class="news<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='news') echo '_selected';?>"><img src="/public/images/newsrusblack.png"></a>
     <a href="/page/payment.html" class="payment<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='payment.html') echo '_selected';?>"><img src="/public/images/paymentrusblack.png"></a>
     <a href="/page/contacts.html" class="contact<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='contacts.html') echo '_selected';?>"><img src="/public/images/contactsrusblack.png"></a>
     <a href="/page/faq.html" class="faq<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='faq.html') echo '_selected';?>"><img src="/public/images/faqrusblack.png"></a>
     <a href="/page/about.html" class="aboutus<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='about.html') echo '_selected';?>"><img src="/public/images/aboutusrusblack.png"></a>
     <a href="/page/index.html" class="home<?php if(isset($this->pageInfo) && $this->pageInfo->alias=='index.html') echo '_selected';?>"><img src="/public/images/mainrusblack.png"></a>
          
<?php } ?>
    
    </div>
      <img src="/public/images/logo.png" class="logo" alt="Simplex Lingua" title="Simplex Lingua" height="54" width="237"
      onclick="document.location.href='/'" style="cursor:pointer" />
      </div>
      
         <!--JOIN US-->
  <a href="/page/join.html"><img src="/public/images/joinusblack.png" class="joinus" height="111" width="197"></a>
<!--Главная-->

<?php if(isset($this->pageInfo) && $this->pageInfo->alias!='index.html') { ?>
   <div id="mcs_container" style="border-radius: 7px; -moz-border-radius: 7px; -webkit-border-radius: 7px; border: 1px solid black;">
   <div class="customScrollBox">
        <div class="container">
            <div class="content"><?php }?>
   
